swapping first and last element of list in python

visit shbcf.ru